<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
    <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
    <META HTTP-EQUIV="Expires" CONTENT="0">
    <META http-equiv="X-UA-Compatible" content="IE=edge">
    <title>TVI项目管理平台</title>
    <link rel="stylesheet" type="text/css" href="resources/libs/bootstrap-3.3.0/css/bootstrap.min.css" />
    <link rel="stylesheet" type="text/css" href="resources/css/lib.css" />
    <link rel="stylesheet" type="text/css" href="resources/styles/common.css" />
    <script>
        var curWwwPath = window.document.location.href;
        console.log(curWwwPath);
        if(curWwwPath.split('/').length>5){
            console.log(curWwwPath.indexOf('.'));
            location.href = '../..';
        }
    </script>
</head>
<body>
    <div class="container conlogin">
        <div class="panel panel-primary form-signin">
            <div class="panel-heading">
                <h3 class="form-signin-heading">TVI项目管理平台</h3>
            </div>
            <div class="panel-body">
                <form id="form" class="">
                    <div class="mb10 input-group">
                        <span class="glyphicon glyphicon-user input-group-addon" aria-hidden="true"></span>
                        <input id="username" type="text" name="username" class="form-control" placeholder="账号">
                    </div>
                    <div class="mb10 input-group">
                        <span class="glyphicon glyphicon-lock input-group-addon" aria-hidden="true"></span>
                        <input id="password" type="password" name="password" class="form-control" placeholder="密码">
                    </div>

                    <button id="btnLogin" class="btn btn-block btn-large btn-primary">登录</button>
                </form>
            </div>
        </div>
        <div style="position: absolute;
    bottom: 20px;
    text-align: center;
    width: 97%;"><a target="_blank" style="color: white;" href="https://support.microsoft.com/zh-tw/help/18520/download-internet-explorer-11-offline-installer">推荐使用Chrome或IE11以上版本浏览器访问</a></div>
    </div>
    <script src="resources/js/jquery-3.2.1.min.js"></script>
    <script type="text/javascript" src="resources/libs/bootstrap-3.3.0/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="resources/libs/validation/jquery.validate.min.js"></script>
    <script type="text/javascript" src="resources/libs/validation/additional-methods.min.js"></script>
    <script type="text/javascript" src="resources/libs/validation/localization/messages_zh.min.js"></script>
    <script type="text/javascript" src="resources/js/common.js"></script>
    <script type="text/javascript" src="resources/scripts/login.js"></script>
</body>
</html>